package com.th.dao;

import com.th.entity.Obj;

import java.util.List;

public interface ObjDao {
    //增
    public void applyUpObj(Obj obj);
    //删
    public void deleteObj(int objId);
    //改
    public void UpObjTimeOut();
    public void applyGetObj(int get_id,String openid);
    public void GetObjTimeOut();
    public void agreeGetObj(int objId);
    public void agreeUpObj(int objId);
    //查
    public List<Obj> selectObjByGetNum(String openid);
    public List<Obj> selectObjsByType(int page,int pageSize, String type);
    public List<Obj> selectObjs(int page, int pageSize,int states);
    public List<Obj> selectObjsByKeys(int page, int pageSize, String keys);
    public Obj selectObjById(int get_id);
    public List<Obj> selectMyUps(String openid);
    public List<Obj> selectMyGets(String openid);
    public void updateObj(Obj obj);
}
